package org.jiuling.local.tools.enums;

import org.jiuling.local.tools.enums.annotations.EnumInfo;

/**
 * 性别枚举
 * @author 紫灵
 * @date 2022年07月28日 22时02分16秒
 */
@Deprecated
@EnumInfo(name = "性别")
public enum SexEnum {

    /** 男 */
    MAN(true,"男","man"),
    /** 女 */
    WOMAN(false,"女","woman");

    private final boolean sign;
    private final String cnName;
    private final String enName;

    SexEnum(boolean sign, String cnName, String enName) {
        this.sign = sign;
        this.cnName = cnName;
        this.enName = enName;
    }

    public boolean isSign() {
        return sign;
    }

    public String getCnName() {
        return cnName;
    }

    public String getEnName() {
        return enName;
    }
}
